<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class EnrollTeacher extends Model
{
    //
    use SoftDeletes;

    protected $table = 'enroll_teacher';

    public function getEnrollTeacher(){


        return $this->where('openid','!=','')->select('openid')->get();

    }

}
